<html>
<head>
	<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
	<script type="text/javascript" src="js/jquery.jqprint.js"></script>
	
	<link rel='stylesheet' href='css/style.css' type='text/css' media='all' />
	<link rel='stylesheet' href='css/printl.css' type='text/css' media='print' />
	
	<script type="text/javascript">
	
	function print() {
		$('div.to_print').jqprint({
			debug: false,
			importCSS: true,
			printContainer: true,
			operaSupport: true
		});		
	}
	</script>
</head>

<body>

<div class="to_print">
	<p>Un texto para imprimir</p>
</div>

<a href="javascript:print();">Imprimir</p>

</body>
</html>